package com.pro.warehouse.filter;


import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public class LoginFilter implements Filter {


    @Override
    public void init(FilterConfig filterConfig) throws ServletException {

    }

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {

        HttpServletRequest newrequest=(HttpServletRequest)request;
        StringBuffer parentUrl = newrequest.getRequestURL();
        String urlString = parentUrl.toString();

    }

    @Override
    public void destroy() {

    }
}
